package com.jy.rhin.model.body.chushengyxzm;


import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import com.jy.rhin.model.CodeObject;
import lombok.Data;

@Data
public class ChuShengXSRJHR {

    //监护人代码
    //监护人名称
    @XPath(path = "/code" , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE09_00_054_00))
    CodeObject codeObject;

    //门牌号
    @XPath(path = "/addr/houseNumber/text()", xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_01_009_06))
    String menPaiHao;


    //街道
    @XPath(path = "/addr/streetName/text()", xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_01_009_05))
    String jieDao;

    //镇
    @XPath(path = "/addr/township/text()", xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_01_009_04))
    String zhen;

    //县
    @XPath(path = "/addr/county/text()", xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_01_009_03))
    String xian;

    //市
    @XPath(path = "/addr/city/text()", xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_01_009_02))
    String shi;

    //省
    @XPath(path = "/addr/state/text()", xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_01_009_01))
    String sheng;

    //监护人姓名
    @XPath(path = "/guardianPerson/name/text()", xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_01_039_00))
    String jianHuRXM;

}
